home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / bumpcopter2.swf / scripts / DefineButton2_234 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2006-06-13  |  218 b   |  13 lines

  1. on(release){
  2.    password = password.toLowerCase();
  3.    if(password == "zebra")
  4.    {
  5.       password = "correct!";
  6.       _root.gotoAndStop(_root.passFrame);
  7.    }
  8.    else
  9.    {
  10.       password = "wrong!";
  11.    }
  12. }
  13.